﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    CodeFile="Account.aspx.cs" Inherits="Admin_Account" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="postedit" class="clearfix">
        <h2 class="ico_mug">
            Account Informations
        </h2>
        <table style="width: 90%; border: 1px" class="yui">
            <tr>
                <td style="width: 150px; font-weight: bold; text-align: right">
                    First Name
                </td>
                <td>
                    <asp:TextBox ID="txtFName" Style="width: 85%" runat="server"></asp:TextBox>
                </td>
                <td style="width: 150px; font-weight: bold; text-align: right">
                    Username
                </td>
                <td>
                    <asp:TextBox ID="txtUserName" Style="width: 85%" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 150px; font-weight: bold; text-align: right">
                    Last Name
                </td>
                <td>
                    <asp:TextBox ID="txtLName" Style="width: 85%" runat="server"></asp:TextBox>
                </td>
                <td style="width: 150px; font-weight: bold; text-align: right">
                    Email
                </td>
                <td>
                    <asp:TextBox ID="txtEmail" Style="width: 85%" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 150px; font-weight: bold; text-align: right">
                    Phone Number
                </td>
                <td>
                    <asp:TextBox ID="txtPhone" Style="width: 85%" runat="server"></asp:TextBox>
                </td>
                <td style="width: 150px; font-weight: bold; text-align: right">
                    DateRegister
                </td>
                <td>
                    <asp:TextBox ID="txtDateReg" Style="width: 85%" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 150px; font-weight: bold; text-align: right">
                    Country
                </td>
                <td>
                    <asp:TextBox ID="txtCountry" Style="width: 85%" runat="server"></asp:TextBox>
                </td>
                <td style="width: 150px; font-weight: bold; text-align: right">
                    Date Expiry
                </td>
                <td>
                    <asp:TextBox ID="txtDateExpiry" Style="width: 85%; color:Red; font-weight:bold" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
            <tr>
            <td colspan="4" style="font-weight:bold; text-align:center">
                LIST ALBUMS
            </td>
            </tr>
            <td></td>
                <td colspan="3">
                    <asp:GridView ID="grdListAlbum" Width="100%" CssClass="yui" runat="server" AutoGenerateColumns="False">
                        <Columns>
                            <asp:BoundField DataField="IDAlbum" HeaderText="ID" />
                            <asp:BoundField DataField="AlbumName" HeaderText="Name Album" />
                            <asp:BoundField DataField="DateCreate" HeaderText="Date Create" />
                            <asp:TemplateField HeaderText="View Images">
                                <ItemTemplate>
                                    <asp:ImageButton ID="btnUpdate" runat="server" ToolTip="View Images" CommandName="Confirm"
                                        OnClick="btnUpdate_Click" CommandArgument='<%# Eval("IDAlbum") %>' ImageUrl="~/Admin/img/viewAlbum.png" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <HeaderStyle CssClass="clsGrdHeader" />
                        <RowStyle CssClass="clsGrdRow" />
                        <AlternatingRowStyle CssClass="clsGrdAlternateRow" />
                        <PagerStyle CssClass="clsPage" />
                    </asp:GridView>
                </td>
            </tr>
            
        </table>
        <asp:Panel ID="pnImage" runat="server">
            <div id="main_panel_container">
                <div id="shortcuts" class="clearfix">
                    <h2 class="ico_mug">
                        Images</h2>
                    <ul>
                        <asp:Repeater ID="reImage" runat="server">
                            <ItemTemplate>
                                <li class="first_li"><a href="ListAlbums.aspx">
                                    <asp:Image ID="imga" runat="server" ImageUrl='<%#"~/Admin/img/Images/" + Eval("ImageURL") %>' style="height:48px; width:50px" /><span>Albums</span></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                        <%--<li><a href="">
                            <img src="img/gallery.jpg" alt="Image" /><span>Image</span></a></li>
                        <li><a href="ListLayout.aspx">
                            <img src="img/statistic.jpg" alt="statistics" /><span>Layout</span></a></li>
                        <li><a href="ListUserGuide.aspx">
                            <img src="img/ftp.jpg" alt="FTP" /><span>User Guide</span></a></li>
                        <li><a href="ListAccounts.aspx">
                            <img src="img/users.jpg" alt="Users" /><span>Accounts</span></a></li>
                        <li><a href="">
                            <img src="img/comments.jpg" alt="Comments" /><span>Comments</span></a></li>
                        <li><a href="">
                            <img src="img/security.jpg" alt="Security" /><span>Security</span></a></li>--%>
                    </ul>
                </div>
            </div>
        </asp:Panel>
    </div>
    
    

</asp:Content>
